package com.czxy.service;

import com.czxy.dao.OrderMapper;
import com.czxy.domain.Order;
import com.czxy.utils.MyBatisUtils;

public class OrderService {

    public Order findOrderAllInfoByOid(Integer oid) {
        OrderMapper mapper = MyBatisUtils.getMapper(OrderMapper.class);
        Order order = mapper.findOrderAllInfoByOid(oid);
        MyBatisUtils.close();
        return order;

//        OrderMapper mapper = MyBatisUtils.getMapper(OrderMapper.class);
//        Order order = mapper.findOrderAllInfoByOid(oid);
//        MyBatisUtils.close();
//        return order;
    }
}
